const path = require('path')
// join
console.log(path.join(__dirname, './a', '/b', 'c/d', 'e'))
// basename
const filePath = '/a/b/c/index.html'
console.log(path.basename(filePath))
console.log(path.basename(filePath, '.html'))
console.log(path.extname(filePath))
